package com.laf.service.impl;

import com.laf.mapper.QuestionMapper;
import com.laf.model.Question;
import com.laf.service.QuestionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: He Changjie  on  2018-10-02
 * @description:
 */
@Service("questionService")
public class QuestionServiceImpl implements QuestionService {

    @Resource
    QuestionMapper mapper;

    @Override
    public List<Question> findAll() {
        return mapper.findAll();
    }
}
